﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Yuangong
    {
      

        public int ID { get; set; }
        public string Name { get; set; }
        public string Bumeng { get; set; }

        public Yuangong() { 
        
        }
        public Yuangong(int id,string name,string bumeng) {
            this.ID = id;
            this.Name = name;
            this.Bumeng = bumeng;
            
        }
        public void printuser() {
            Console.WriteLine("我的工号是{0}，我的姓名是{1}，我的部门是{2}",this.ID,this.Name,this.Bumeng);
        }


    }
}
